<script setup>
	import {userInfo} from "./stores/userInfo.js"
	import { onMounted} from "vue"
	import { onLoad, onShow, onUnload } from '@dcloudio/uni-app';
 	let UserInfo  = userInfo()
	// onLoad(()=>{
	// 	console.log('App Show')
	// })
	
	onMounted(()=>{
		console.log("射里面了，好爽啊")
		UserInfo.getUserToken()
	})

	// export default {
		
	// 	onLaunch: function() {
	// 		UserInfo.getUserToken()
	// 		 	console.log("射里面了，好爽啊")
			
			
	// 	},
		onShow(()=>{
			console.log('App Show 射里面了，好爽啊')
			UserInfo.userLogin()
		})
		
	// 	onHide: function() {
	// 		console.log('App Hide')
	// 	}
	// }
</script>

<style lang="scss">
	/*每个页面公共css */
	// @import '~@/static/style1/app.scss';
	
	// @import '@/static/style1/app.scss';
	@import url("./static/iconfont/iconfont.scss")
</style>
